Fixing API URLs for popular search and autosuggest.