Time Range not strictly enforced on a Tag History binding

Hi All,

I am displaying historical data on a XYChart in Perspective. I created a dataSource using Tag History binding.


The start date and end date are from two DateTimeInput objects (props.formattedValues.datetime)

My problem is that the obtained data contains records outside of the specified time range. In particular, I selected end date as 2019-May-27, but data from May-31 still show up on the plot (Picture below). To verify this, I am displaying Unix time value for both DateTimeInput objects right below them. I can see that the last entry from the data table includes a time_stamp after the end date.

Can somebody suggest what could be the cause here?

Thank you!