If making infinite items, don't set a minimum.

Right-clicking the manufacturing button to set infinite production sets a boolean flag, but doesn't change the stored amount-to-produce integer, so the std::min function always comes out to the last non-infinite value.