Elasticsearch: fix partial blob indexing on push

Merged Valery Sizov requested to merge es_fixes into master