Fix REDO after clear