Validate categories