[BUGFIX] foreign_match_fields not fully supported

foreign_match_fields were not fully supported
Resolves: #47694
Relates: #45337
Releases: 6.2, 6.1
Change-Id: I212cbdb5d4a3791c1d8ed1e431007e10dd9f11e8
Reviewed-on: https://review.typo3.org/21120
Reviewed-by: Frans Saris
Tested-by: Frans Saris
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind