Bugfix

Fixed error if there are 0 votes.