Isn't it `document['_id']` (instead of `article['_id']`)?