Fix bug where teams could not be created.
Merge pull request #91 from toomuchpete/fix/create_teams_bug

Fix bug where teams could not be created.