Re-fixed assignQuiz code - broken in earlier commits