Offset endtime on null value