Validate category