Updated add_degree_callout_settings() to loop thru terms only when they exist