Harmonizing is_categorized conditional