Average Value Missing End of Data When Querying Historian Tag