Fix typo where we thought a list was a dict