Fix regression #1752