Fix default types derivation
There was a corner case when a network can have multiple types with the same path. For thess networks now numeric identifier is returned.
There was a corner case when a network can have multiple types with the same path. For thess networks now numeric identifier is returned.