fix issue with passing singular legislator IDs back to API