Fix issues with searchByTag in shared storage
Merge pull request #12942 from owncloud/favs-missingsharedsubdirs

Fix issues with searchByTag in shared storage