ds_is_in_list: properly pass -1 for all sets

Closes #389