Fix crash when coursework mark is TBR