Don't deregister all migrations when flushing cache, only the missing ones.