Add term_name to item_keys.