Fix changed syntax in search_object gem.