Do not duplicate last entry in history