for each vote, remove duplicates but do not invalidate them, just count them as one