drop empty index batches.
Merge branch 'drop_emtpy_index_batches' into rax-stage