I have a table with circuits (top_circuit) and their underlying segments (circuit_name) in a shapefile in QGIS. The underlying circuits are the ones with geometries rather t