SchallCircuitGroup redefine subgroup for some wires.
To avoid this, I use following code:
if data.raw["item-subgroup"]["cable"] then
if mods.SchallCircuitGroup then
data.raw["item-subgroup"]["cable"].group = "circuit"
end
util.set_item_subgroup("copper-cable", "cable")
util.set_item_subgroup("red-wire", "cable")
util.set_item_subgroup("green-wire", "cable")
if mods.modmashsplintergold then
util.set_item_subgroup("gold-cable", "cable")
end
end
I think that here it will look better than in my unpublished mod.