Fixes dumpfile index in migration