Fix validation issue where option members with None value are not validated.