Fix issue#6430 by instantiating Network() with expected arguments
Merge pull request #6436 from jlaska/issue_6430

Fix issue#6430 by instantiating Network() with expected arguments