Return null from toValue if the node is null.