fixed sending duplicate events
Merge pull request #79 from pec1985/analytics-3_1_X

Backport to 3.1.x [TIMOB-14114] fixed sending duplicate events