That's right of course; we slip it in there because a select-multiple with nothing selected can follow the single-get `null` case. Regardless, http://jsfiddle.net/aVjyH/1/ is too much code, and will compress poorly. Seriously, follow along these lines:
```js
var optionSet,
	values = jQuery.makeArray( value ),
	options = elem.options,
	index = elem.selectedIndex,
	// Keep as a variable only if overall gzip size is smaller
	// than using elem.type !== "select-one" directly in an if condition
	one = elem.type === "select-one";
```
and try using the loop body instead of `selectedIndex` to track if post-iteration fixup is necessary.