Fix crash introduced in the previous commit.