Addressed an issue related to RangedNumberGenerator class

As reported in #300, RangedNumberGenerator fails when a value (drained from the Context) is added to Minimum and the result number is bigger than Maximum.

This Pull Request addresses #300.