Fixed generating uneven teams.