Added check to insure range length is 1 or greater.