making check for data in dc:type more robust