Modified RangeExpression handler

Added an attribute exclude to the range expression. The attribute is used to determine whether the stop value has to be included or excluded.