Adding a reverse flag so that it will find subpaths travelled by each user