Fixed encoding 'end' of multi-day events