Fix xqlint warning

That would be much cleaner, but I cannot write the query with the pragma syntax, could you send how this query should look like?