Unable to generate problem report csv

Hi, I am able to generate problem reports before the attempt but unable to generate after the attempt.

Tutor Version 12.0.1 (lilac)

And below are the lms worker logs

2021-07-07 08:28:49,297 ERROR 128 [celery.app.trace] [user None] [ip None] trace.py:255 - Task lms.djangoapps.instructor_task.tasks.calculate_problem_responses_csv.v2[ab8a0532-f086-4c26-aa55-b01417330540] raised unexpected: AssertionError()
lms-worker_1     | Traceback (most recent call last):
lms-worker_1     |   File "/openedx/venv/lib/python3.8/site-packages/celery/app/trace.py", line 412, in trace_task
lms-worker_1     |     R = retval = fun(*args, **kwargs)
lms-worker_1     |   File "/openedx/venv/lib/python3.8/site-packages/celery/app/trace.py", line 704, in __protected_call__
lms-worker_1     |     return self.run(*args, **kwargs)
lms-worker_1     |   File "/openedx/venv/lib/python3.8/site-packages/edx_django_utils/monitoring/internal/code_owner/utils.py", line 179, in new_function
lms-worker_1     |     return wrapped_function(*args, **kwargs)
lms-worker_1     |   File "/openedx/edx-platform/lms/djangoapps/instructor_task/tasks.py", line 180, in calculate_problem_responses_csv
lms-worker_1     |     return run_main_task(entry_id, task_fn, action_name)
lms-worker_1     |   File "/openedx/edx-platform/lms/djangoapps/instructor_task/tasks_helper/runner.py", line 120, in run_main_task
lms-worker_1     |     task_progress = task_fcn(entry_id, course_id, task_input, action_name)
lms-worker_1     |   File "/openedx/edx-platform/lms/djangoapps/instructor_task/tasks_helper/grades.py", line 995, in generate
lms-worker_1     |     student_data, student_data_keys = cls._build_student_data(
lms-worker_1     |   File "/openedx/edx-platform/lms/djangoapps/instructor_task/tasks_helper/grades.py", line 922, in _build_student_data
lms-worker_1     |     for username, state in block.generate_report_data(user_state_iterator, max_count):
lms-worker_1     |   File "/openedx/edx-platform/common/lib/xmodule/xmodule/capa_module.py", line 485, in generate_report_data
lms-worker_1     |     answer_text = lcp.find_answer_text(answer_id, current_answer=orig_answers)
lms-worker_1     |   File "/openedx/edx-platform/common/lib/capa/capa/capa_problem.py", line 672, in find_answer_text
lms-worker_1     |     assert len(elems) == 1
lms-worker_1     | AssertionError