fix strange behavior of caching total votes on scoped voting