Update rmdir script to avoid infinite loop when deleting Trash folders.