Fixed some issues with lists and strings.