Fix bulkWrite replay