Refactored Search Code for efficiency with LINQ to SQL