How Democrats underestimated Republicans.