fix bug with legacy scheduled reports
Merge pull request #2197 from dimagi/schedfix

fix bug with legacy scheduled reports