Fix for https://github.com/ETHZLET/moodle-qtype_matrix/issues/14