Hi. Moved to Mod Submissions as it's a mod of a mod but not part of the original code.
Once $refine is set to one, do you have an option to set it back to zero, or to reset $path to start a new search of the same site?
The code in
this thread may be of interest.