MDL-7308 - Check all the DB columns used to store grades, and make sure they all use a consistent type.