Fixed the issue of using expressions as contexts.