Fixed bug concerning outer loop multi-search indices.