Ignition's historian doesn't use half-open time spans. You have to subtract one millisecond from the start of the next day before using it in the history binding. Or in queries. (This is also true when using smaller intervals. The end timestamp must be the last millisecond in the last interval.)
See my Tag Report Utility's time span and history query handling in my exchange resource: