ISPN-2435 Cache#replace(key, old, new) method doesn't check old value on non-local invocations