Fix retreiving data if foreign-key and portal are specified in the "relation" setting and consider the fields on the portal when adding data to FileMaker's portal objects