Prevent _.random returning max + 1 in rare cases

I have a strong feeling that I encountered this edge case in real code when generating a LOT of random numbers a few years ago (although I have to admit I can't exactly remember the scenario now).

Anyway, how do people feel about fixing it?
What's this reference too - I don't see the topic on the mdn page