MDL-38173 Courselib: Revert the unusual upgrade version check