2.6.1.2 TWebIndexedDBClientDataset.Locate improperly raises exception with filtered data

TWebIndexedDBClientDataset.Locate should return only True or False and it does so as long as no filter is enabled. But it raises an exception on not finding a record in a filtered dataset. Attached is a modification to my previous demo to illustrate. Run the demo, select any ID number and it's OK. But click on one of the color filter buttons and select an ID corresponding to that color to see the exception reported in the Log memo.
IDB_Issue_Demo_5Nov24.zip (13.5 KB)
I see that this was reported in Oct 2021 by Gilles Piazzon, but he got no reply and the bug still exists in this week's TMS Web Core version.

This is related to the pas2js RTL TJSONDataSet.
We'll check again with the pas2js team.