Query data from Old Partitioned table

Hi All,
Due to data growth in the tag history table.I have configured Partition length as 2 weeks.
Now if i query data using system.tag.queryTagHistory() and passing stat time parameter which is in old table and End time is in new table,Im getting the following error
image .

Please help to resolve this