Update Composition.nearly_equals to work when one composition has a value set to
0