Fix misplaced automatic vlan creation