Adapt reference value to new optimizer behavior.