Fixed a bug where networks couldn't be added