Fixed constraints for teams IDs.

— Removed redundant constraints;