Fixed an issue where nodes were only being removed for defender.