Fix TraversalSpec after apply2 change