Fixed bug with Smelting not properly tracking furnaces. Fixes #806