Fixed syntax error in user_choice input validation