Issue with empty networks was fixed.