Added vote uniquing for teacher view.