[1.5.x] Minor edits to docs/topics/db/queries.txt.

Backport of 8bfc7cc64c from master