Don't break when there is a foreignkey field that is sometimes null