fix total rows in reports
Merge pull request #1621 from dimagi/gsid_total_row

fix total rows in reports