Fix network calculations using unknown direction.