MDL-40199 SCORM: Let locallib::scorm_get_toc_get_parent_child work as expected