A bill meant to fix a South Carolina law that kicked hundreds of primary candidates off the 2012 ballot is heading to the Senate.