handle VirtualNode's, null, and undefined children