Corrected isSalvageSmelter logic