fix bug with avg datespans that go back to far