Fix the pagination when browsing filtered logs