Filter advanced options in search
Better way to handle advanced options in search