removed pagination when result count is zero
fixed #309
Merge pull request #310 from jroo/no_pagination

removed pagination when result count is zero