Tests: Fixed indices.stats types test when run with replicas