fixed time offset bug with deleting last interval