private long[] addCandidateVotesToParties(long[] electionResult, List<ElectionOption> electionOptions) {
		long[] result = new long[electionOptions.size()];
		
		for(ElectionOption e : electionOptions) {
			if(e.getElectionOptionId() != e.getPartyId() && e.getPartyId() != -1) {
				result[e.getPartyId()] += electionResult[e.getElectionOptionId()];
			}
		}
		
		for (int i = 0; i < result.length; i++) {
			result[i] += electionResult[i];
		}
		
		return result;
	}