Fix problem with series name extraction in TVSort.

The latin1() call is now obsolete, but would convert None to u"None".