Add query to join edges on records with TopologyGeometry