Updated google.rb to prevent incorrect assignment of non-numeric values