Don't remove XML nodes from element we're iterating over
Don't remove XML nodes from element we're iterating over

This fixes some unit tests on Linux.

ermshiperete/LfMerge,ermshiperete/LfMerge,sillsdev/LfMerge,sillsdev/LfMerge,ermshiperete/LfMerge,sillsdev/LfMerge