Offsets should be added before taking duration and end times into account.