fix bug with avg datespans that go back to far
Merge pull request #2844 from dimagi/war-date

fix bug with avg datespans that go back to far