Fix for https://github.com/ETHZLET/moodle-qtype_matrix/issues/13#issuecomment-44930478