Fix regression introduced in 1dbce210f7345123723e50892c0d153f25414f6b