MDL-49987 upgrade: Correct missing main_savepoint update