Remove a / when option hasn't an optgroup