Fix for https://github.com/ETHZLET/moodle-qtype_matrix/issues/2#issuecomment-40361875