Fixed a bug in ExpressionDependency.