fix occurrence delete start end date reset logic