Fix regression introduced by aebb671