Fix range use that was causing test failure in JRuby.