Fix RubyEnumerable toA() bug