Avoid NULL node and non-NULL root in focus_node