fix to get email-summary working with scheduled reports