Fix bug when deleting article