bugfix for nil value on get_field_value_for_option