Better xml loading error handling
Delete old grouping tags to avoid growing in time