Fix for categories on other pages than 1