Add check for conflicting team members and empty teams before submitting match