Fix NPE due to previous commit.