Although the affectedNodes are only liable to contain the single node, i...

...nNode, for correctness (and to quiet an Xcode warning) the actual node from the enumeration should be used.