Fixed bug with team assignments and spell permissions.