Add a missing null check, remove out of date comment.