Passing the correct stackId for context.