Fix indices cleaning after dataset publication event. ES upgraded.