r4222 produceUplinkPorts(): fix recent commit to return unique values again