Fix bug in ListConverter that incorrectly modifies the passed in object as a side effect.