MDL-47959 mod_quiz: fixed 0 questions bug