Fixed division by zero error

Fixed the divide by zero error that would happen when an election was
first created and didn't have any votes yet