fixed bug in #applies_to_student_exercise?