Can I generate a random number within a range?

Looks like a bug!