MB-23530: Prevent replace with CAS on deleted item