Fix a bug introduced in 25cc9793c28ca44d84f25bb1a93134ad1ded62c2