Bug 1056468 - Clear metadata when history entries are removed. r=lucasr