Fix validation of not required fields.