Selector to remove the ecca-tree-last-node class was mutating nodes deeper than the first level. Changed CSS selector to only affect nodes on the root level.