Ensure remove callbacks are triggered for all removed elements not just the top level node.