Fix Mica 1017 - clear cache before migrate