GPS Example isn't working, nothing in serial log or console

The console is showing the correct longitude and latitude data in Helium. I can confirm that it is the payload decoder that is giving the wrong results.

function Decoder(bytes, port)
{
  var longitude_int, latitude_int;
  var decoded = {};

  if (port === 2)
  {
    if(bytes[0]===9) // check if the header byte is 9.
    {
      latitude_int = (bytes[1] << 24) | (bytes[2] << 16) | (bytes[3] << 8) | (bytes[4]);
      var latitude = latitude_int / 100000;
      longitude_int = (bytes[6] << 24) | (bytes[7] << 16) | (bytes[8] << 8) | (bytes[9]);
      var longitude = longitude_int / 100000;

      return [{
          "field": "LOCATION",
          "value": "(" + latitude + "," + longitude + ")"
      }]

    }
  }
}

This was a slight modification to the decoder just to be able to add the data into the widget but is still based on the same principles as the TTN Decoder here GPS Tracker Example. Why is the decoder giving this as the data points?