changing parameter order of nested_report aux function of text_summary to keep it consistent with the rest of function definitions