Pagination and filtering in search history, refs #1004