fix queries with empty where, which result in generating sql with WHERE 1=1
Merge pull request #12 from mbroadst/fix-count-query

fix queries with empty where, which result in generating sql with WHERE 1=1