Changed self.student.voted to self.voted