Don't change the set size while iterating, prevents bugs with stray DBRefs in getting changed fields.