Fix term ID bug: use term_id, not term_taxonomy_id