regrade: error check for ExamRecord.attempt_number=0