Added document duplication to the NLP migration step.