fixed bugs when running against a database that is missing the procedures referenced by these migrations.