Fix 'where key in rowlist' whereclause