Fix categories to work with context processor