Guarding against a crash due to improper mutable array access

Trying to prevent a crash due to something else modifying the mutable delegateNodes array when it shouldn't be.