Enhanced batching in the purge/replicate jobs