Fixed a bug in search.

[#61674910]