Fix GreaterThan/LessThan calculation.  Allow for cascading linq queries.