votedFor must be reset when the term changes, and other nice things ;)