Fix bug in configuration construction. Elasticsearch cogito calls