Fix nextDelayedTimestamp