Fix undo promotion mode