BatchMixin: do not call processBatch empty batches