Fixed bug with rebuild-network-tasks.