Bugfix ElasticSearch client wrapper