Improvement on getting Sapelli Folders from selected items

Signed-off-by: Michalis Vitos <info@michalisvitos.gr>