fix condition for transaction validation