Fix the cpg_data functions get_local_members/3 and get_remote_members/3.