fix for the issue #17 in ocelotlQueries
Prevent bad entries on the start and end timestamp