Added a fix, and tests, for appending empty sets of elements/strings.