Moodle.2x mod/reader fix non-object error on student summary report