The problem proved a huge boon that is election-year Republicans.