Fix an issue with concatenating arrays and strings.