bug 809338 - don't flatten optgroups r=surkov