Fixes #257 pagination doesnt match with date search result