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

finalised the logging and fixing using callbacks