Fixed column headings bug when downloading as csv

If there is a location field in the form then the last fields are not checked for being of type "location" or "gps" since the field count is not updated to reflect the added location fields.