Close #264 - Fix wrong child selected with optgroups