Fix: get_full_tree was not working correctly.