Bugfix ruby 2.0 rand on array