MDL-33877: Prevent duplicate records in grade items table after running assignment...