Bug #3256: Change RMDelete return code

(cherry picked from commit 3484b252233d1e0afa64188b43dc18f09b33e5b9)