Fixed bug with check for unique players' names.