DrPublishApiClientArticle: Improved variable check