Bug fixes to sync_controller_networks