Fixed bug in C to Ruby data conversion.