Correct default stack
Only undo/redo if stack item exists