Report: fix issue #61 for dynamic reports.
Report: fix issue #61 for static reports.