raft: fix ignore term
Merge pull request #989 from coreos/fix_ignore_term

raft: fix ignore term