Fixed BaseX queries.