Moodle.2x qtype/ordering fix error 'logical cannot be NULL' when importing from GIFT file