Fixed potential issue with the way SetType was being used with ingots.