Fixed syntax errors, added a redirection if invalid poll ID given