Remove extra duplicate line in where for traversal test