Added support for infinite forwarding of remove command in undo/redo
scenarios.