Only descend twice after drop_unused if it's the same node type.

Fix #345