Legislative candidate blames secretary of state for ballot mistake