make sure node_ids and slice_ids are ints when calling plcapi