To avoid unintentional database writes, don't upgrade fields with a value of None.

Refs #907