Fixed bug in completing the quiz.