[FIX] XQuery, function flags: array with updating functions removed