fixed how code was forming subnets to take into account the case where the source node was a leaf instead of a vgige