Fixed regression that broke IC2 reactors and some machines

IC2 reactors was fixed in 86e96a43ee2b990875723ba11415d3244023e1d8 but fix is regressed by last pull-requests.