It is certainly an inconsistency if an entry from LINK got deleted and the related entry of LINV is still there.
I can find 31 OSS notes for the search term LI02N
You may have to review them and check if your system has those notes already implmented or if it is not up to date. Worst case you have to report it yourself to SAP to get it cleaned