Fix out of bounds problem when going up on root node.