Guard against improper checkTransactionMode usage