Added preprocess validation to the "category" field.