Simplified the linked list traversal in the async stack.