Fix divide by zero issue when timestamp start and end are the same

When timestamp_end and timestamp_start are the same, the console throws an exception as delta == 0.