Removes now unnecessary list in dup command.