Fixed populatedTeam logic