Added deduplication of tap when it occurs before double tap