Null check on BundleDocument