fix custom fkey on has filter with 1:m rels
a custom foreign key can be used for belongs-to-one relation field. Then configuration is an array, which needs to be considered here.