Fix a couple of issues with Mekanism connections.