Use correct input type for search