MDL-46546 core_grades: Move error checking after csv upload.