Added index on CompareCategory.category_type