Fixed an issue where the production output was incorrectly exceeding the actual smelted input. For example, if 30 units of ore were smelted with a config that produces 50 units of metal per ore, the output will now correctly produce 30 metal units instead of producing more than the smelted amount.