MDL-40697 core: added grade_deleted event