Insert nulls for missing data

Otherwise our db_insert placeholders are off by some.

Change-Id: I4d3bf807108fb5c96e26acde0084181df3448be8