Fix until date in component editor