fix for "nil can't be coerced into Float"

asm.max_grade is nil when there is no question in the assessment