Fix regression caused by #9361a5aa4fef73e06bc78b7c462eb28a7d12e3d0