Fix loading when opening compare mode.