Fixes #3537: Fix the way the networks are checked in networkCheck.st