Bug fix for default grade.