Add directions for joins with directions specified at both ends