Fix search query command

Referencing issue #18