bugfix: handle nulls better on ForeignKey fields.