Fixing a bug on the categories page.