Ensures index by category