Worked around TypeError: ... "from list" not a string problem.