Thanks, removed the check for `!= NULL`.