Make ElasticSearch max results honor the global search.max_results setting.