SHINDIG-1621 | Patch from Igor Belakovskiy | Passing incorrect index value inside the opensearch feature