Fixed logic error in getArticle()