Earlier you posted code that iterates through a query result, no?
Then it will be interesting to see if the query works directly.
Because it looks like there is no data for that query.
Well, since your model says it has 0 rows there is no data to compare.
Cheers,
_
Bookmarks