Use the the peer table iterator correctly