added proper check for quiz=enabled to results report
Cleaned up handling of untaken quizzes in results report