Filter out empty index names