Fixed bug with create cohort form validation.