Stops adding values to array if number of columns is reached.

The columNames are created only once. If anywhere in the sheet there is an extra value in one of the rows, the array_combine function fails and returns an empty row. This should fix it.