Use getSelectedEntries helper in selectedPath