Well, I wouldn't take that as an argument. The whole method could be used under different situations and we should not assume that only one single result will be available. See the else section right below. I know that there is a really tiny chance to hit this case but it might be possible. So please use the last found item in entries as reference to retrieve the build index.