Fix logging bug in openended grading