Fix set_form_control_value to throw if an invalid value is set on a select element