Fix undo migtype rename