Release Notes:
https://github.com/kiwidude68/calibr...history-v1.5.3
@ownedbycats - this implements the logic I explained above (while fixing your issue).
Now if an empty search occurs (either by the user hitting Escape, the clear search button or switching virtual libraries) the navigation history resets the top of the list. So now when you navigate back after that empty search you see the last non-empty search you did (not the "second to last" which was a bug). And you can no longer navigate "forward" from that position.
If someone could give it a whirl and confirm no issues I will release it in a day or two...
EDIT: Released now