[FIX] XQuery, GH-907: No stack access during compilation.