fix for unremovable DO nodes. Fixes 1198