Add Pre Delete hook to clean up merge record