Fix issue with constructing negative dates.

Addresses issue #39