fixed bug with processBatch incorrectly clearing transactionErrors