Update search_discovery.rb

revert change done in wrapper