For some reason reset_caches from cache_helper is sometimes invoked on a nil object.