fix stray PeerRecord::iterator use