Fixes dumb bug with event tracking