Fixed BUG when call search method in objects with many to many relations.