Bug in editing endDate resolved