Bugfix of the callvote exploit

This fixes the callvote exploit found in October 2009.