fix the redirect to the last used folder when the folder was deleted
Merge pull request #146 from Kunstmaan/fix_redirect

fix the redirect to the last used folder when the folder was deleted