Fixed search functionality.