Update queries.rst

Fixed a spelling error: "length"