bug fix, first option entry mistreated as optgroup