Fixed the ElasticSearchPersistWriter

it is, that is why it is red.