when changing vote param to voter_id, 
have you checked other methods/code block that calling this function?
if so and you're sure that those features are not failing please confirm.