Fixed ElasticsearchManager