When modifying a vanilla object and then undoing it the command is still saved in the savefile, instead it should be deleted.