Fix folder deletion from client.