Runtime Warning - Old Implementation CAST

Hi – I am getting many messages at runtime in my local Console saying the following. I suspect this is coming from my OQL. Any ideas on how to fix? I’m not sure which part of the OQL it isn’t liking – just the CAST function? Executing query with old implementation due to detected exception in new implementation: Unsupported type cast from  (0) to not
0 answers