Applied patch, testing code.

Vote Mechanics fixed