system.tag.queryTagHistory not updating the data and bring duplicate or same value for last result

Hi
I found the issue. It was to do with interpolation. Once nointerpolation is true, it has resolved this issue.