Just fixed a bug with deleteExam function