Fixes end_time parameter
Merge pull request #54 from chrisdebug/master

Fixes end_time parameter