Fix issue in log_changes for cache
Cleanup