diff --git a/site_map.module b/site_map.module
index fe1756e..21ca615 100644
--- a/site_map.module
+++ b/site_map.module
@@ -513,7 +513,7 @@ function _site_map_taxonomy_tree($vid, $name = NULL, $description = NULL) {
   $output .= !empty($description) ? '<div class="description">' . filter_xss_admin($description) . "</div>\n" : '';
 
   // taxonomy_get_tree() honors access controls.
-  $tree = taxonomy_get_tree($vid);
+  $tree = taxonomy_get_tree($vid, 0, NULL, TRUE);
   foreach ($tree as $term) {
     $term->count = site_map_taxonomy_term_count_nodes($term->tid);
     if ($term->count <= $threshold) {
