Make search query equal to search name.

[finishes #80679350]