Got the search function working again.