fix segv when closing terms in splits
fix segv when closing terms in splits

ihorlaitan/terminology,godfath3r/terminology,bssb/terminology,ihorlaitan/terminology,bssb/terminology,godfath3r/terminology,bssb/terminology,ihorlaitan/terminology,godfath3r/terminology