Handle NULL node