Fixing migration deletion