Added ValidateCourse to detect repeats.