Some cleanup of VoteCastDBHandler.