Handle deleted and modified nodes first before the added nodes
Merge pull request #131 from junmendoza/StableBranchWithTestcases

Handle deleted and modified nodes first before the added nodes