chooseint is exclusive in the end value causing Rng.boolean to return true always

Fix for Rng.boolean