Update pagination so page_count is always more than 0