fixed retrieving the correct sub terms for the search shortcode.