Log more info about failure to remove item from History.
Merge remote-tracking branch 'upstream/0.7.x' into 0.7.x