Updated export to support exporting entries that already exist when new sections are added (avoid null reference exception).