Support multiple security groups when no network specs defined.

Basically just a copy from a few lines down.