If no proposal votes reaches quorum, then the function will returns its default value, which is 0.
Revert when the returned value is 0. It is safe, as ballotId starts at 1, and when the function is used to finalize whitelisted tokens, the ballot already needs to reach quorum to get to this point.
