The first vlan addition logic removes any existing vlans configured on the interface. this fix removes that adding of first vlan on the interface and always appends into the none or existing vlans on the trunk interface. this assumes that the interface is in switchport mode trunk and that the switchport trunk allowed vlan is none or some vlans