Hotfix for cache issues when restoring.