Fix issue with constructing negative dates.

Addresses issue #39
Merge pull request #40 from bkendall/fix-streak-calculator

Fix issue with constructing negative dates.