Fixed removing class sequences preventing the class based LM from expansion.