Adds another check to old migrations to ensure some required FKs are dropped when needed