Removed castor cache on some user/group/role entities and improved archive analysis method