fixed problem with setSubnets
Merge pull request #2 from buttercoin/subnets

fixed problem with setSubnets