Fix Bug 938893, do not add a slash if there is only one item in array
change path to path_index
Merge pull request #181 from ossreleasefeed/bug938893-spurious-slashes-in-search-results

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