Check if not null on name before validating.