fix for queries w/o where condition