Fixed workflow for missing @visited hash