Fix logic for comparing peer in session with peer from user