Made sure to check if node is root since it can be both root and a move node.