Fixed two test errors with select_related and ForeignKeys as primary keys.
Fixed two broken model formset tests.
Fixed two errors caused by a previous defer/only commit.