Fixes to lm delete