changed distinct processing to use a new DistinctExpression.  Currently causing a failure because the old form is no longer recognized as a distinct expression and therefore requires the aggregation framework.