OAK-2077 - Improve the resilence of the OrderedIndex for dangling links

added coverage and fix for lane 4