Fix bug in category page.