[FIX] XQuery: buggy evaluation of position predicates