Based on !124 (merged)
Please test if this works for you (use non-empty reports for realistic scenario).