Fixed logical error (the property is called 'search', not 'query')
Merge pull request #1363 from perlun/patch-9

Fixed logical error (the property is called 'search', not 'query')