Bug fix for cycling element references in DiffGenerator.