Fixing typos in NodeIsPublished condition test.