Comparison of trees comp not having all attributes