Fix boundary conditions in kronos

This also adds an `end_id` parameter which is analogous to `start_id`. 
why does the result order affect `_type` on the query? We still want the same events returned right?