Add assert() to prevent access to empty trans table.