Either way, I should have the Sportsmanship badge.
I am just wondering if I'm missing something, or if it's possible that the sportsmanship badge is broken.
It doesn't really matter what your queries are: upvotes are not linked to users in any public data dumps. As far as I know, favorites are the only type of votes that are linked to the user who casts them.
Since the Sportsmanship badge requires looking at who cast the vote, there's no way to see your progress (except viewing each post and seeing how many of the competing answers you've upvoted).
More than likely the queries suck. (It shouldn't be surprising that they differ from reality in addition to each other.)