Fix undo and redo broken by a precondition.