we have a not null constraint on term_id, so maybe we could use inner join here?