Use team_assignment? method instead of checking max_team_size.