Fix regression that has been introduced by previous commit.