Clean corrupted data for categories