Fixed a bug from formTeams.
Merge pull request #242 from EnachescuAlin/formTeams-bugfix

formTeams-bugfix