Fix north/south confusion in direction-figuring.