Fixed TransactionConfirmation Logic