Set VLAN ID properly when modifying it.