allow query text that is actually an array.
Merge pull request #492 from j-wilkins/patch-1

allow query text that is actually an array.