#564 Deleting tree branch. - Added root check.