bug fix in unchaining entries in delete