Random number within range: Throw error for empty ranges.