Handle NULL values when writing matched UCAC4 data to the database