Fix get_term_link error.