Fixed tree-diff algoritm, now fine.