Trying to fix issues with the search not working