Fix a wrong value conversion in delete method of Ruby binding.