MDL-10110 MDL-20296 improve grading when unit input is empty