A little fix to Category#index