fix cid accounting in _list_conns_vars_common_ loop