fixes a bug in the burningman_categorize middleware