Possible bug with device grouping

When trying to group devices who ports ifname contains -sd

i use the following pattern


it returns a devices that does not have -sd in the ifname.

Below is the capture of the devices ifnames when discovering

ifName.1 = wan1
ifName.2 = wan2
ifName.3 = dmz
ifName.4 = internal7
ifName.5 = internal6
ifName.6 = modem
ifName.7 = ssl.root
ifName.8 = ADVPN-JHB-lte
ifName.9 = wifi
ifName.10 = lan
ifName.11 = internal5
ifName.12 = internal4
ifName.13 = internal3
ifName.14 = internal2
ifName.15 = internal1