Small category bug fixed

Kept resetting the page to first. Never changed the page.