Unlike my comment above, I believe this Set is created in order to remove potential duplicates, since fieldDeletions is used in the for loop below.