Incorrect value when passing UDT value to template

Sounds like a bug, but I personally would never use a UDT type parameter. I would always pass in the path to the UDT into the template (I split these and pass in the DeviceParentPath and DeviceName, then combine into DeviceTagPath in the template). Then just indirectly bind using the DeviceTagPath