bugfixes for startDate and endDate options
Merge pull request #11 from bgelineau/master

Bugfixes for startDate and endDate options