fixed empty params query use case
updated if comments
Merge pull request #10 from sephcoster/no-params-fix

No params fix