Performing a batch operation on sql replications documents error fix

this happens when the batch operation sql replications documents contains a delete operation.