Fix pagination bug related to default row_count

If you perform a search and try to paginate, it'll throw an error for
not having a :rows set. This should fix it.
Merge pull request #29 from yannyu/master

Fixing pagination bug related to default row_count