I think we should add a check on line 6679 above i.e around
    DbString(row, 0, &temp_zone);
Generated keys should not be allocated to a zone and so at the moment the output for the zone column in this case is 
"(null)"
which isn't very nice. I think that when the zone is null we should output 
"NOT ALLOCATED"
instead.