Fix for migrated/merged instances.