Fixed a minor bug in Tx.isConfirmed