don't reset metadata for all nodes if the node matched more than one time
fix problem that no document metadata is shown when clicking on the info button in document browser

to achieve this the "path" was converted from a string to a list of strings