Updated discovery_service.py to add limits to the search results