MDL-55107 gradebook: Improve the 57 letter boundary upgrade.