Fixed bug where track events were re-sent for no reason