Ensure the return value is correct in Ruby 1.8.7