Simplified internal vars in get_tree_current_item