With the partially wrong changes introduced in SERVER-48883, it was wrongly assumed that onShardVersionMismatch would never fail with exceptions different from NamespaceNotFound.
As this is definitely not the case, the range deletion task submission is failing and not retried in case any other exception is thrown.
A possible way to fix the problem would be calling onShardVersionMismatch within a retryIdempotentWorkAsPrimaryUntilSuccessOrStepdown.