Prevent crash when deleting Lexical Relation

This is issue LT-13894.

Change-Id: Iae4d2cf4aa02d89da40c741d22d3f30191032103