Trivial cleanup of track_tree_refs()