You are working in a git repository checked out at the commit where a bug
report was filed. Your job is to fix the issue described below.

<problem_statement>
{problem_statement}
</problem_statement>

Requirements:
- Fix the issue by editing the repository source code.
- Make the minimal change that resolves the issue.
- Do not modify, delete or add test files — the fix is judged by the
  project's own tests, which run later.
- You may run commands (e.g. targeted tests) to understand and verify the fix.
- Leave your final changes saved in the working tree. Do not commit.
