Fix joining string with list instead of list element.