Bulk insert retry fix.

The bulk-retry used to send an empty document. That's not really helpful.