[FIX] Use ARRAY_AGG instead of MAX on before_tax_income calculation

Merged Gabriel Davini requested to merge 8.0-return_tax into 8.0-stage

Merge request reports