Fixed a bug when deviating angles of secondary road network would lead to loops in that network's graph.