Fix paging on search results page
Merge pull request #163 from fqxp/master

Paging is impossible on search page