Changing node type on selection only changes the one node