[FIX] XQuery: MIXUPDATES. Closes #961