dm persistent data: fix nested btree deletion