Do not repeat twice the same entry in history