Fixed search functionality. Works now.