Wrong vote counts when merging/unmerging topics
I noticed a weird problem with counts of vote when merging topics.
1. As admin of the project, I create two topics.
2. Another single user vote +1 for each of them.
3. I merge the two topics:
Since it's the same user and the same idea, I should get 1 as the total votes.
That's indeed the vote count displayed just after the merge.
4. But if I refresh the page, then I see 2 as the vote count (the same single voter appears twice in the voters stats)
5. If I unmerge the topics, then the first one gets back +1
but the second one gets +2 votes (the real voter, and one anonymous!)
I made this test twice to be sure. Something's wrong!
At first we'll check the #5 and fix it.
For #1-4 - yes, now if you merge the feedback with the other one we just sum all votes without analyze duplicates. It's true. But usually you merge feedback when user just leave it. And votes count is 0. And it not so big problem.
Well, we'll discuss and try to filter duplicated votes for this situation.