Minor bug fix in exams