Removing closed document from category.