MDL-59931 mod_quiz: Fixing incorrect pagination count.