Fix regression introduced by ab66eb2aa4a6af40ef074e3b6a81ae90d18b2fa7