fixed an bug where incomplete quizzes were returned in quiz queries