Fix for logic in IsTransactionFree