Fix small bug when destroying the whole object after merging
two nodes from a triangle