Fixed folder delete/restore to also delete/restore its files.