Now also filtering out empty strings.