Issue #2240995 by acbramley: Unset $element['#type'] in select_or_other_element_process() causes other modules to throw errors