In scorm graphs report. Group mode is not verified. This can be problematic when separate groups mode is set for the activity. This needs to be be verified both in graph.php and report.php
Also we need to make sure $currentgroup = 0 is handled properly.