fixed search when using more than 1 model type in relationship attr search, and
also when using join loading on model relationship