Fixed orphaned migrations