Missed a 'SCOPE_PERTHREAD' -> 'CONTEXT_THREAD'.