Thanks for this solution, but I'd like to know how to use Filter Slice Folder myself...
I believe that the option adds a filter to the output to show only Slice Folders, in the same way that Filter Documents works.