2009-12-01 insilmaril Fixed undo of detach()