Fixes bug where rerun migrations never unlock the migrations table.