Refining and handling some broken migrations.