Added a revalidate call to the delete undo function.