Fix optgroups display

This fixes wrong optgroups display.