Fixing the search bar and making sure it works.