Initialize netgroups.
Fix bug in netgroups where we were switching groups instead of netgroups.