this is actually an invalid situation to start with. deleting `/a/b/c` would fail when `/a/b` is already deleted. can we move that to the end please ?