reports.jsx: Fix broken optional chaining rule
reports.jsx: Fix broken optional chaining rule

The buggy optional chaining rule was introduced in
3fd8fbf0d1adc8c0fba64d7eb3b11ca4ba9cb8a6. This commit fixes it.

akvo/akvo-rsr,akvo/akvo-rsr,akvo/akvo-rsr,akvo/akvo-rsr