Fix validations for class_groups/semester_class_groups