Fix recursive delete

Thanks @parndt :heart: