Fix nodedit.filemanager.paste to account for duplication