Fix content type validation.