Change if statement from "site.show_category_icon_index" to "site.show_category_icon_index==true" to fix bug