"il" does not render a usable IN string. "s" does a perfect job as shown here:
IN ('11','10','20')
but for some reason it's not working. But the result of debugSQL() does work perfectly fine when executed independently (in PHPmyAdmin). That's why I am thinking there is code in one of the support files that is having trouble with the sql query result even though it is rendered in a usable manner. Security concern?