Fixed incorrect assignment operation inside inner loop
Fixed incorrect assignment operation inside inner loop

This bug manifested as only comparing each set against itself and doing it
set_id_count number of times. That's a pretty strong indicator as to what's
going on, and my C code is begging for unit tests at this point.

causes/suggestomatic,causes/suggestomatic