[BUGFIX] Commit date for vote is not always updated

The original commit to fix this bug did not contain the actual fix,
but only a small whitespace fix. This commit fixes both bugs ;-)