dups now returns a list with two elements: the alterd data and the flagged tags.