Rollback part of change in api_search.rb