Fixed a bug that occurred on Ruby 1.9.3-p194.