Fix search result bug