I think I’ve found a bug in the handling of a riccochet query.
In the Query function there is a call to Riccochet() that passes the number of the fact set of where to store successful matches in a variable named whichSet.
But the variable that actually holds the current fact set number is a local variable named whichset.
The version with the uppercase S is only defined and defaulted to 0 and is never set to anything else, or used anywhere else.
Therefore riccochet queries will work with fact set 0 and not any other.