Fixed itemsByValue editable utility for select2 selectable optgroup handling.