Improved <option> selection such that no menu item without a value is selected. Revised a comment to be more intuitive.