fix for when shard has no doc indexed