db-upgrade MDL-24487 Fixed incorrect parentcontext when upgrading.