@dacrosby, thank you so very much. I spent an entire day trying to suss this out! I reordered the tags and added
if( false !== strpos( $key, 'ctct-' ) ) {
//$lists = $data;
//break;
if (is_array($data) && !empty($data))
$lists = array_merge($lists, $data);
}
as you suggested, and all is well now. Thanks again.