in reply to Search results being cached?

Turns out the value of a scalar variable, containing the list of selected collections/data-sets, was being persisted between script invocations.