Fix multisearch with activerecord relation