Solving multisearch bug