fix for bug where voters is a string or negative number