Safely handle null pointers
Update the blog post accordingly