Fix regression introduced in 5c4da579