Change dupe delete query in stage 4 to reflect trigger changes.