Fixed datetime issues with repeating event's end datetime