Corrected Search method to include search with multiple names