GLM2 fix: fixed racy assert.