Fix compile errors in NoneIndexShardGateway