Added dependency of the query out-container on the index uniqueness