Updated ElasticsearchWriter to not yield None results