History files corrupted on agents where the long term purge was launched