Fixes bugs when path count is > 1
- Keep track of the initial paths to export to prevent requesting them again as invoked paths.
- Return smaller payload of invoked paths by removing duplicates.
- Need to clear the menu active trail between requests, reset is insufficient.
Closes #3478842