Changed query result in getAllExams