Added term_id as unique key and name key for url.