manyToMany search fix