Fixed smelting restrictions bug