Fix node type selection.