Searching on wrong path