Hm.. is this for Factorio version 1.0? Because it doesn't look like Super Logistics has updated to Factorio version 1.1.x yet... hm, how to handle updates for separate versions... I guess I would have to upload the fix twice? One for Factorio 1.0 and one for Factorio 1.1? Seems pretty annoying...
EDIT: Actually.. I can't even test compatibility in Factorio 1.1 by setting Super Logistics version to 1.1, as it appears to be missing some technology or icon or something. And downgrading to Factorio 1.0 would erase my configs.. including those I'm using in an existing game... not sure I'm willing to blindly upload a fix for a very niche mod that hasn't even updated to the latest version of Factorio...
Although I'm glad you were able to make it work for yourself, and I'm glad you brought this up I might be able to use this to improve compatibility for 1.1 mods. I hope my code wasn't too difficult to read through (I'm not exactly the cleanest coder)