Fix Quantity/Posy algebra