[FIX] XQuery Update: correct numbering of database updates
[FIX] XQuery, SQL Module: reject arguments with empty sequences
Merge remote-tracking branch 'upstream/master'