Fix display of categories on index page