[FIX] XQuery: results of index requests are not necessarily iterable