When creating a segment with "Custom variable value (scope visit)" such as this:
And then opening the Custom Variable report, it shows this:
Notice how the last 3 rows have zero metrics, meaning these rows should actually be hidden from the report.
May not need to fix this bug since we plan to deprecate Custom Variables soon.
(But maybe a similar issue wouldn't be found in other plugins or Matomo?)