From this post, I was told that the following section of code suffered from \"the egregious act of closing over the loop variable.\"
foreach (Canidate ca
Closing over variables that later change values is what is causing the problem.
candidate
can