Adjusted the check if the user already voted