[#2923] If end and start are greater than duration, remove the event, if just end is greater, let end === duration