2368: Fixed form validation for multiple teams