Exempt deletions from dupe flag checking
fixes #2121