Remove duplicate ticks.