fix tcsms's ptop transform and trigger index of the TC index
Merge pull request #1553 from dimagi/tc

fix tcsms's ptop transform and trigger index of the TC index