Fix selecting transactions.