trigger.get with options output:extend returns wrong templateid. the returned templateid seems the triggerid of the parent template.
For example, trigger.get with output:extend and triggerids:13491, returned value is 10047. This value is triggerid of parent template.