Fix transition.selectAll with null nodes.