Fix Migrate Hosts bug