MODE-2096 Reverted a change introduced by previous commit which may impact SNS and cause the inserted & insertedBefore structures to be out-of-sync.