Omit network_ids if network_id is nil
Merge pull request #59 from atsaki/omit_networkids_if_nil

network_ids is empty if network_id and network_name are not specified