MDL-42660 TinyMCE: Ensure upgrade is only performed when possible