Fix fragile migration