fixed DisjointDiscreteRange GetNext (started GetPrevious) and regtests.