Keep selected rows during delete/undo/redo.
Modified RowCheck routine.