CSV exports keep every value in its own column
- What was broken
- The CSV export took its header from the first location, so later rows with different fields shifted into the wrong columns.
- What I changed
- The header now covers every field in the export, and each row fills its own columns, leaving blanks where a field is missing.
- Why it matters
- Location history exported to CSV opens correctly in spreadsheets.