MDL-28945 course_reports: Fixed up pagination issue