Fixed a bug where anonymous users weren't being prevented from voting when they should be.