Fix server local networks subnet check
Fixes #39