        $userProfilesElementSetIdsMap = $db->fetchCol($sql);

        foreach($responseData['element_texts'] as $elTextData) {
            if (in_array($elTextData['element_set']['id'], $userProfilesElementSetIdsMap)) {
                continue;
            }
            //work around some possible oddities from .net with element data being null
            if (is_null($elTextData['element_set']['id'])) {
                continue;
            }

            if (is_null($elTextData['element']['id'])) {
                continue;
            }