fix paging in search results
Merge pull request #23 from MaZderMind/fix-paging

fix paging in search results