Wish: Can canceled commands not change _SelLast result

Have you tried Rhino WIP feature: UndoSelection /RedoSelection?