Fixed bug with empty number of players.