Yep, that's what was supposed to happen with this code. It was just a test to make sure that the ability to show only male or female models. If you want to show only female models that are available for your team, add back the team check.
PHP Code:
g_eModels[i][Team] == iTeam && g_eModels[i][Sex] == Female
You haven't described how you want to determine whether you show male or female models so we can't really help you any further than this.
__________________