Fixed a crash with redstone networks