add test with no events in time range and c cursor debug output
add fix for c cursor when there are no events
remove debug code
Merge pull request #206 from Shopify/ccursor_no_events

Fix c cursor when there are no events