Fixes pagination with time and vertical searching
Merge pull request #1302 from lukecampbell/discovery

Fixes pagination with time and vertical searching