Handle optgroups between selects and options
Fail when trying to set_value on nonexistent elements