If we are going to advise "data type cast needed", then we should test that a patched version of the query  with a data type cast will work.