Fixed scope traversal.