Crash fix when a node is empty.