Fix warnings in import script.
Use sensible default for missing date.