VLAN dashed list bug

Fixed a bug when parsing a dashed list of VLANs in the configuration (i.e. vlan 21-23).
The bug is present only for ATS devices.
Tested both with AW+ and ATS devices.