ds_is_in_list: properly pass -1 for all sets

Related to #389