Remove CNAME loops from migration