Fixed null pointer that I introduced in the last commit.