Get Most Recent Historian Value Script

I am attempting to read the most recent historian entries for some tags in a remote historian without any interpolation. Basically the current value of the tag according to the historian. There was a similar post previously that went unanswered (LINK).

I’ve tried playing around with both the queryTagCalculations and queryTagHistory with mixed results. queryTagHistory seems to interpolate and queryTagCalculations sometimes returns no values for unknown reasons.

system.tag.queryTagCalculations(paths=pathList, calculations=["LastValue"], startDate=startTime, endDate=endTime, noInterpolation = True)

system.tag.queryTagHistory(paths=pathList, startDate=startTime, endDate=endTime, returnSize=1, aggregationMode="LastValue", returnFormat='Tall')