Make more ForeignKey protobuf fields optional for old databases.