Fix unwanted non-unicode output in Python 2.x when item list was empty.