Fixed #13794 -- Fixed to_field usage in BaseInlineFormSet.

I guess this is for the purpose that the getattr above again returns an instance instead of some value or I am missing something here?