Fix Bug 938893, do not add a slash if there is only one item in array

@erikrose r?