Deleted useless history entries.