Fix undefined method can_search?