Replace use of Retract with Delete
(cherry picked from commit bbd3389ffd9b34938c8b5771289e5323bb9520be)