[FIX] XQuery: empty() checks fixed
Merge branch 'stable'