Fix the issue with search not finding any results