Fix PTR migrations

This seems to be the best way to fix this. Everything else I tried had horrible unintended consequences.