Changed search function to allow multiple words