Fix implementation of #empty?
Prevent generation of values too high in random input plugins