Fix undo on deployment server