Fixed default value when "type" is an array of types.
Note: The expected default value should match the first type in the types array.