Fixed bug with peer selection counter