Fix product modifying its state.