more flexible when query returns no results (foreign record missing)
Merge branch 'master' of github.com:bjornpost/pheasant_vlak