Fixed bug with using Salvage on stacked items. Stacked items will now
return the appropriate amount of materials. Fixes #802