Fix off-by-one error in Raft implementation.
Fix off-by-one error in Raft implementation.

robertjpayne/rethinkdb,tempbottle/rethinkdb,lenstr/rethinkdb,scripni/rethinkdb,lenstr/rethinkdb,mquandalle/rethinkdb,catroot/rethinkdb,captainpete/rethinkdb,eliangidoni/rethinkdb,niieani/rethinkdb,robertjpayne/rethinkdb,robertjpayne/rethinkdb,bpradipt/rethinkdb,RubenKelevra/rethinkdb,captainpete/rethinkdb,Qinusty/rethinkdb,spblightadv/rethinkdb,jmptrader/rethinkdb,elkingtonmcb/rethinkdb,AntouanK/rethinkdb,AntouanK/rethinkdb,rrampage/rethinkdb,ajose01/rethinkdb,victorbriz/rethinkdb,grandquista/rethinkdb,niieani/rethinkdb,niieani/rethinkdb,losywee/rethinkdb,wkennington/rethinkdb,catroot/rethinkdb,AntouanK/rethinkdb,sebadiaz/rethinkdb,KSanthanam/rethinkdb,greyhwndz/rethinkdb,mcanthony/rethinkdb,sbusso/rethinkdb,sontek/rethinkdb,gavioto/rethinkdb,gavioto/rethinkdb,bchavez/rethinkdb,pap/rethinkdb,bpradipt/rethinkdb,grandquista/rethinkdb,4talesa/rethinkdb,Qinusty/rethinkdb,spblightadv/rethinkdb,matthaywardwebdesign/rethinkdb,matthaywardwebdesign/rethinkdb,elkingtonmcb/rethinkdb,pap/rethinkdb,tempbottle/rethinkdb,captainpete/rethinkdb,greyhwndz/rethinkdb,mquandalle/rethinkdb,bpradipt/rethinkdb,RubenKelevra/rethinkdb,niieani/rethinkdb,losywee/rethinkdb,RubenKelevra/rethinkdb,spblightadv/rethinkdb,ayumilong/rethinkdb,lenstr/rethinkdb,wkennington/rethinkdb,tempbottle/rethinkdb,grandquista/rethinkdb,elkingtonmcb/rethinkdb,spblightadv/rethinkdb,bchavez/rethinkdb,JackieXie168/rethinkdb,yakovenkodenis/rethinkdb,eliangidoni/rethinkdb,KSanthanam/rethinkdb,losywee/rethinkdb,niieani/rethinkdb,4talesa/rethinkdb,Wilbeibi/rethinkdb,bpradipt/rethinkdb,niieani/rethinkdb,KSanthanam/rethinkdb,robertjpayne/rethinkdb,JackieXie168/rethinkdb,spblightadv/rethinkdb,scripni/rethinkdb,dparnell/rethinkdb,JackieXie168/rethinkdb,JackieXie168/rethinkdb,eliangidoni/rethinkdb,lenstr/rethinkdb,eliangidoni/rethinkdb,lenstr/rethinkdb,greyhwndz/rethinkdb,yakovenkodenis/rethinkdb,Wilbeibi/rethinkdb,wkennington/rethinkdb,alash3al/rethinkdb,matthaywardwebdesign/rethinkdb,robertjpayne/rethinkdb,yaolinz/rethinkdb,rrampage/rethinkdb,yaolinz/rethinkdb,mcanthony/rethinkdb,ajose01/rethinkdb,mcanthony/rethinkdb,ajose01/rethinkdb,4talesa/rethinkdb,catroot/rethinkdb,alash3al/rethinkdb,ajose01/rethinkdb,greyhwndz/rethinkdb,Wilbeibi/rethinkdb,pap/rethinkdb,KSanthanam/rethinkdb,rrampage/rethinkdb,AntouanK/rethinkdb,wkennington/rethinkdb,bchavez/rethinkdb,mquandalle/rethinkdb,greyhwndz/rethinkdb,lenstr/rethinkdb,victorbriz/rethinkdb,mcanthony/rethinkdb,matthaywardwebdesign/rethinkdb,scripni/rethinkdb,yakovenkodenis/rethinkdb,ayumilong/rethinkdb,robertjpayne/rethinkdb,rrampage/rethinkdb,pap/rethinkdb,Wilbeibi/rethinkdb,spblightadv/rethinkdb,Qinusty/rethinkdb,alash3al/rethinkdb,sontek/rethinkdb,mbroadst/rethinkdb,catroot/rethinkdb,rrampage/rethinkdb,dparnell/rethinkdb,rrampage/rethinkdb,bchavez/rethinkdb,ayumilong/rethinkdb,mquandalle/rethinkdb,dparnell/rethinkdb,captainpete/rethinkdb,scripni/rethinkdb,robertjpayne/rethinkdb,bchavez/rethinkdb,AntouanK/rethinkdb,JackieXie168/rethinkdb,ayumilong/rethinkdb,mquandalle/rethinkdb,sbusso/rethinkdb,mcanthony/rethinkdb,captainpete/rethinkdb,eliangidoni/rethinkdb,Qinusty/rethinkdb,bpradipt/rethinkdb,scripni/rethinkdb,KSanthanam/rethinkdb,pap/rethinkdb,Qinusty/rethinkdb,tempbottle/rethinkdb,JackieXie168/rethinkdb,victorbriz/rethinkdb,victorbriz/rethinkdb,tempbottle/rethinkdb,scripni/rethinkdb,RubenKelevra/rethinkdb,pap/rethinkdb,tempbottle/rethinkdb,AntouanK/rethinkdb,yaolinz/rethinkdb,dparnell/rethinkdb,sbusso/rethinkdb,grandquista/rethinkdb,gavioto/rethinkdb,alash3al/rethinkdb,captainpete/rethinkdb,ayumilong/rethinkdb,catroot/rethinkdb,tempbottle/rethinkdb,sbusso/rethinkdb,Qinusty/rethinkdb,bpradipt/rethinkdb,jmptrader/rethinkdb,mbroadst/rethinkdb,wkennington/rethinkdb,losywee/rethinkdb,JackieXie168/rethinkdb,greyhwndz/rethinkdb,victorbriz/rethinkdb,pap/rethinkdb,alash3al/rethinkdb,grandquista/rethinkdb,elkingtonmcb/rethinkdb,lenstr/rethinkdb,mbroadst/rethinkdb,dparnell/rethinkdb,yaolinz/rethinkdb,Qinusty/rethinkdb,matthaywardwebdesign/rethinkdb,grandquista/rethinkdb,mbroadst/rethinkdb,jmptrader/rethinkdb,victorbriz/rethinkdb,yakovenkodenis/rethinkdb,yaolinz/rethinkdb,pap/rethinkdb,sebadiaz/rethinkdb,mquandalle/rethinkdb,victorbriz/rethinkdb,elkingtonmcb/rethinkdb,robertjpayne/rethinkdb,losywee/rethinkdb,yaolinz/rethinkdb,RubenKelevra/rethinkdb,grandquista/rethinkdb,sebadiaz/rethinkdb,ayumilong/rethinkdb,lenstr/rethinkdb,JackieXie168/rethinkdb,RubenKelevra/rethinkdb,niieani/rethinkdb,4talesa/rethinkdb,robertjpayne/rethinkdb,bpradipt/rethinkdb,wkennington/rethinkdb,losywee/rethinkdb,Wilbeibi/rethinkdb,spblightadv/rethinkdb,mcanthony/rethinkdb,4talesa/rethinkdb,victorbriz/rethinkdb,AntouanK/rethinkdb,grandquista/rethinkdb,yakovenkodenis/rethinkdb,Wilbeibi/rethinkdb,gavioto/rethinkdb,yakovenkodenis/rethinkdb,jmptrader/rethinkdb,dparnell/rethinkdb,sbusso/rethinkdb,KSanthanam/rethinkdb,mbroadst/rethinkdb,alash3al/rethinkdb,mbroadst/rethinkdb,scripni/rethinkdb,yakovenkodenis/rethinkdb,dparnell/rethinkdb,mquandalle/rethinkdb,yakovenkodenis/rethinkdb,bchavez/rethinkdb,mcanthony/rethinkdb,sontek/rethinkdb,ayumilong/rethinkdb,Wilbeibi/rethinkdb,sbusso/rethinkdb,yaolinz/rethinkdb,losywee/rethinkdb,KSanthanam/rethinkdb,bchavez/rethinkdb,jmptrader/rethinkdb,matthaywardwebdesign/rethinkdb,elkingtonmcb/rethinkdb,ajose01/rethinkdb,losywee/rethinkdb,catroot/rethinkdb,mcanthony/rethinkdb,rrampage/rethinkdb,RubenKelevra/rethinkdb,4talesa/rethinkdb,eliangidoni/rethinkdb,captainpete/rethinkdb,scripni/rethinkdb,ajose01/rethinkdb,wkennington/rethinkdb,alash3al/rethinkdb,mquandalle/rethinkdb,bchavez/rethinkdb,spblightadv/rethinkdb,4talesa/rethinkdb,sebadiaz/rethinkdb,gavioto/rethinkdb,matthaywardwebdesign/rethinkdb,gavioto/rethinkdb,sebadiaz/rethinkdb,yaolinz/rethinkdb,jmptrader/rethinkdb,sontek/rethinkdb,Wilbeibi/rethinkdb,ajose01/rethinkdb,sontek/rethinkdb,eliangidoni/rethinkdb,bpradipt/rethinkdb,elkingtonmcb/rethinkdb,sebadiaz/rethinkdb,gavioto/rethinkdb,alash3al/rethinkdb,bchavez/rethinkdb,mbroadst/rethinkdb,ayumilong/rethinkdb,mbroadst/rethinkdb,sontek/rethinkdb,greyhwndz/rethinkdb,sontek/rethinkdb,RubenKelevra/rethinkdb,tempbottle/rethinkdb,bpradipt/rethinkdb,jmptrader/rethinkdb,JackieXie168/rethinkdb,elkingtonmcb/rethinkdb,eliangidoni/rethinkdb,catroot/rethinkdb,niieani/rethinkdb,Qinusty/rethinkdb,sontek/rethinkdb,dparnell/rethinkdb,matthaywardwebdesign/rethinkdb,rrampage/rethinkdb,jmptrader/rethinkdb,dparnell/rethinkdb,mbroadst/rethinkdb,catroot/rethinkdb,Qinusty/rethinkdb,ajose01/rethinkdb,grandquista/rethinkdb,sbusso/rethinkdb,eliangidoni/rethinkdb,wkennington/rethinkdb,4talesa/rethinkdb,AntouanK/rethinkdb,sebadiaz/rethinkdb,captainpete/rethinkdb,greyhwndz/rethinkdb,gavioto/rethinkdb,KSanthanam/rethinkdb,sebadiaz/rethinkdb,sbusso/rethinkdb