This is a very “Retro” method that doesn’t use the new PanX tricks - but it might be handy sometime. I usually create a spare text/date/numeric field/s in a database because they often become useful along the way. In this case, you could fill a spare text field with some “marker” character (for example, “X”) after a successful selection and if your WithIn results in a SelectAll (because result was empty), you could get back to previous by selecting on your marker field. Of course there is some maintenance in deciding when to clear that field.
You will have to issue another select but it is a simple (one comparison) selection and saves time if you are several selections deep before running into a “none found” situtation.