Allow using a field on a one to one relation

Fixes the error when trying to export a field from a one-to-one relationship (e.g. `profile__newsletter` on a user model).