Avoid returning duplicate elements for findElementsBy*.

The problem was caused by getTopLevelViews() in NativeSearchScope
incorrectly returning the focused view even when it should not be
considered as top level.