Fixed issue with event tracking.