Data should be validated before processing for name duplication.