fixed issue with export records not including the end date

Signed-off-by: Chris Jones <chris@jonezy.org>
fixed off by 1 date issue

Signed-off-by: Chris Jones <chris@jonezy.org>
Merge pull request #11 from jonezy/master

fixed off by 1 when exporting records.