Adding condition to CoreTiming state function

because ev->type might be undefined in MODE_READ