contextToken may be undefined, so the isAssertionExpression call in filterGlobalCompletion needs to check for undefined.