Bug #12 - undo/redo does a full replacement