Added condition for changing the article state to archived