Support compareAndDelete