Fixes #2065. Operations that changes value invalidates local cache immed...

...iately