Fixed bug in get_topology_stats.sh