Added secondary network checking