MDL-39296 scorm reports: Fix undefined variables in graphs report