Removing conditional as it will already throw an exception if the transaction is not found in the batch context