Make sure get_object_schema does not return duplicates.