Fix action history (no link to deleted objects)