This change fixes the optgroup 0 at the dropdown generation.