[UI]Fix another bug in searching.